reading-notes

About Django Custom User Model

Setup

Here are the commands to run:
$ cd ~/Desktop
$ mkdir accounts && cd accounts
$ pipenv install django~=3.1.0
$ pipenv shell
(accounts) $ django-admin.py startproject config .
(accounts) $ python manage.py startapp accounts
(accounts) $ python manage.py runserver

AbstractUser vs AbstractBaseUser

Custom User Model